home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / graphicgems4.lha / GemsIV / vec_mat / ray / Object3D.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-06  |  313 b   |  15 lines

  1. #include "Object3D.h"
  2.  
  3. /************************************************************************
  4. *                                    *
  5. * Input from stream.                            *
  6. *                                    *
  7. ************************************************************************/
  8.  
  9. istream& operator >> (istream& s, Object3D& a)
  10. {
  11. s >> a.pos;
  12. s >> a.orient;
  13. return s;
  14. }
  15.